package com.example.user.api;

import lombok.Data;
import javax.validation.constraints.NotBlank;
/**
 * 登入参数
 */
@Data
public class LoginDTO {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
